Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove same-origin blanket enforcement #28

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Remove same-origin blanket enforcement #28

merged 1 commit into from
Sep 6, 2023

Conversation

shhnjk
Copy link
Member

@shhnjk shhnjk commented Sep 6, 2023

The blanket enforcement logic specific to same-origin iframes exposes a new way to block certain resources from loading in the iframe. This allowed attacks which were not possible before (example).

Additionally, this caused a bug where CSP nonce value enforced by CSPEE from a top frame had to exactly match nonce value served in grand-child frame, if the top frame and child frame are cross-origin, but child frame and grand-child frame are same-origin.

Given this part of blanket enforcement is rarely used (~0.000015%), let's remove this logic.

Fixes: #26

@shhnjk
Copy link
Member Author

shhnjk commented Sep 6, 2023

@antosart, could you PTAL? Also, while I'm part of W3C WebAppSec and I've linked my gihub accout, it seems like IPR still has some issue. Is there any specific issue to this repo that I need to do?

@antosart
Copy link
Member

antosart commented Sep 6, 2023

Looks fine to me. I don't know about the ipr check though.

@shhnjk shhnjk merged commit 1e00d2b into w3c:main Sep 6, 2023
1 check failed
Copy link

@jmyljml36 jmyljml36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

مغلق
#28 إزالة الإنفاذ الشامل من نفس الأصل حذف تلقائي ونهائي جميع قم بإزالة التنفيذ الشامل من نفس الأصل في CSPEE إزالة البيانات: عنوان URL في SVGUseElement CSS :dir() محدد الفئة الزائفة إهمال وإزالة دعم Theora.حذف تلقائي ونهائي دعم Theora على متغيرات Chromium لسطح المكتب.

@jmyljml36
Copy link

مغلق
#28 إزالة الإنفاذ الشامل من نفس الأصل حذف تلقائي ونهائي عدم الظهور مره اخره

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buggy behavior with multiple nested frames
3 participants